x86/MSI: handle both MSI-X and MSI in cfg space write intercept
authorJan Beulich <jbeulich@suse.com>
Mon, 25 Apr 2016 12:21:13 +0000 (14:21 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 25 Apr 2016 12:21:13 +0000 (14:21 +0200)
commit02eb000e0723470e795725d515d0797be8ca30fd
tree6a4e7181a898ffb16d40e116cc54cfef6714c0ca
parent351d94360de0d5fbfdc2a332298684b213aee1d8
x86/MSI: handle both MSI-X and MSI in cfg space write intercept

In commit aa7c1fdf9d ("x86/MSI: properly track guest masking requests")
I neglected to consider devices allowing for both MSI and MSI-X to be
used (not at the same time of course): The MSI-X part of the intercept
logic needs to fall through to the MSI one when the access is outside
the MSI-X capability bounds.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/msi.c